Closed Bug 1802239 Opened 3 years ago Closed 2 years ago

Enable layout.css.named_pages.enabled to pref on CSS named pages

Categories

(Core :: CSS Parsing and Computation, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
110 Branch
Tracking Status
relnote-firefox --- 110+
firefox110 --- fixed

People

(Reporter: alaskanemily, Assigned: alaskanemily)

References

Details

(Keywords: dev-doc-needed)

Attachments

(1 file)

No description provided.
Assignee: nobody → emcdonough
Status: NEW → ASSIGNED
Pushed by emcdonough@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/72f9100eec76 Enable CSS named pages on all channels r=hiro
Status: ASSIGNED → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 110 Branch

Emily, is that worth a note in the standards section of our release notes for 110 or is a mention on the MDN release notes enough? Thanks!

Flags: needinfo?(emcdonough)

@pascalc: This should be in the standards section of the release notes, I think.

Flags: needinfo?(emcdonough)

Release Note Request (optional, but appreciated)
[Why is this notable]: This enables CSS named pages, a feature currently implemented by Blink/Chromium and used by some common webpages during printing (gsuite in particular).
[Affects Firefox for Android]: Printing code is currently not enabled for Android
[Suggested wording]: CSS named pages allows web pages to perform per-page layout and add page-breaks in a declarative manner.
[Links (documentation, blog post, etc)]: https://developer.mozilla.org/en-US/docs/Web/CSS/@page although this doesn't actually document named pages yet (MDN needs some updates for this, it seems).

It might or might not be worth noting that our current implementation does not allow mixed page sizes in one document when printing (this is noted in bug 1802238 which put it behind a pref that is currently not enabled) and just uses the page size and orientation of the first printed page (respects either global page rules, or named pages that apply to the first page printed).

relnote-firefox: --- → ?

Let's add the dev-doc-needed keyword to the bug to warn our MDN team that this needs documentation

Keywords: dev-doc-needed

I added this note to the standards section of our beta notes https://www.mozilla.org/en-US/firefox/110.0beta/releasenotes/ without the link.

Now that I'm reading it on the notes, maybe it would be better to phrase it as:

Firefox now supports CSS named pages, allowing web pages to perform per-page layout and add page-breaks in a declarative manner when printing.

Flags: needinfo?(pascalc)

(In reply to Emily McDonough [:alaskanemily] from comment #9)

Now that I'm reading it on the notes, maybe it would be better to phrase it as:

Firefox now supports CSS named pages, allowing web pages to perform per-page layout and add page-breaks in a declarative manner when printing.

Note updated, thanks.

Flags: needinfo?(pascalc)

Added to final 110 notes.

Regressions: 1819468
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: